#ifndef __ICONFIGMANAGER_H__
#define __ICONFIGMANAGER_H__

#include "CTypes.h"

class IConfigManager
{
public:
    IConfigManager()                    {}
    virtual ~IConfigManager()          {}

    virtual void SetActualSection(stringc Section)						= 0;
    virtual stringc GetActualSection()									= 0;
    virtual bool ReadFile(stringc File)									= 0;

    virtual s32 GetVarAsInt(stringc SubSection,stringc Name)			= 0;
    virtual f32 GetVarAsFloat(stringc SubSection,stringc Name)			= 0;
    virtual stringc GetVarAsString(stringc SubSection,stringc Name)		= 0;
};

POWERLIBRARYENGINE_API IConfigManager *GetConfigManager();
POWERLIBRARYENGINE_API void DeleteConfigManager();
void SetConfigManager(IConfigManager *ncv);
#define ConfigManager	GetConfigManager()

#endif
